package edu.fourtwelve.srlzd_data;

import java.io.Serializable;

/**
 *
 * @author Christopher C. Hunt
 */
public class Transaction implements Serializable{
    private long transactionId;
    private int transactionTypeId;
    private String transactionTypeDesc;
    private String transactionDesc;
    private double transactionValue;
    private long accountNum;
    
    public Transaction(long transactionId, int transactionTypeId, 
            String transactionTypeDesc, String transactionDesc, double transactionValue,
            long accountNum) {
        this.transactionId = transactionId;
        this.transactionTypeId = transactionTypeId;
        this.transactionTypeDesc = transactionTypeDesc;
        this.transactionDesc = transactionDesc;
        this.transactionValue = transactionValue;
        this.accountNum = accountNum;
    }
    
    public long getTransactionId() {
        return transactionId;
    }
    
    public int getTransactionTypeId() {
        return transactionTypeId;
    }
    
    public String getTransactionDesc() {
        return transactionDesc;
    }
    
    public double getTransactionValue () {
        return transactionValue;
    }
    
    public long getAccountNum () {
        return accountNum;
    }
}
